<?php
$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
if (preg_match('/\\.(js|css|png|jpe?g|gif|ico|svg|ttf|woff2?|eot)$/i', $path)) {
    return false;
}
if (version_compare(PHP_VERSION, '8.0', '<')) {
    print 'Require PHP 8.0 or later.';
    return;
}
define('DEV', true);
require __DIR__ . '/index.php';
